/* pages/planListAdmin/index.wxss */
/*适配480以上的ipad*/
/* 480/750=0.64*/
@function toPadPx($rpx){
  @return $rpx*0.64px;
}

@mixin pad-devices {
  @media (min-width:480px) {
    @content;
  }
}
.plan-list{
  width: 100%;
  height: 100%;
  padding: 20rpx;
  display: flex;
  align-content: center;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  @include pad-devices {
    padding: toPadPx(20);
  }
}
.plan-item{
  width: 96%;
  background-color: #FFFFFF;
  border-radius: 20rpx;
  position: relative;
  margin: 20rpx auto auto;
  padding-bottom: 20rpx;
  @include pad-devices {
    border-radius: toPadPx(20);
  }
}
.plan-item:not(:first-child){
  margin-top: 20rpx;
}
.plan-item-title{
  margin-top: 20rpx;
  padding: 0;
}
.plan-item-sub-title{
  font-size: 24rpx;
  color: #8f8d8e;
  @include pad-devices {
    font-size: toPadPx(24);
  }
}
.plan-content{
  margin-top: 20rpx;
  padding-top: 0;
  border-bottom-left-radius: 20rpx;
  border-bottom-right-radius: 20rpx;
  background-color: #f6f7fb;
  //max-height: 880rpx;
  overflow: hidden auto;
  @include pad-devices {
    border-bottom-left-radius: toPadPx(20);
    border-bottom-right-radius: toPadPx(20);
  }
}
.plan-small-item{
  border-radius: 20rpx;
  margin: 20rpx;
  padding: 20rpx;
  position: relative;
  border-bottom: 1px solid #d9d9d9;
  background-color: #FFFFFF;
  @include pad-devices {
    border-radius: toPadPx(20);
  }
}
.sub-plan-title{
  height: 40rpx;
  line-height: 40rpx;
  margin-top: 20rpx;
  margin-bottom: 40rpx;
  font-size: 28rpx;
}
.plan-title-img,.action-title-img{
  width: 30rpx;
  height: 30rpx;
  margin-top: 5rpx;
  float: left;
  padding-right: 10rpx;
}
.plan-title-img{
  padding-right: 20rpx;
}
.action-title-img{
  margin-top: 8rpx;
}
.sub-plan-article-title{
  font-weight: bold;
  max-height: 80rpx;
  line-height: 40rpx;
  text-overflow: ellipsis;
  overflow: hidden;
}
.plan-state,.plan-sub-state{
  width: 120rpx;
  height: 40rpx;
  line-height: 40rpx;
  font-size: 24rpx;
  text-align: center;
  color: #FFFFFF;
  //background-color: #FF814A;
  border-top-right-radius: 20rpx;
  border-bottom-left-radius: 20rpx;
  @include pad-devices {
    width: toPadPx(120);
    height: toPadPx(40);
    line-height: toPadPx(40);
    font-size: toPadPx(24);
    border-top-right-radius: toPadPx(20);
    border-bottom-left-radius: toPadPx(20);
  }
}
.plan-state,.plan-state-content{
  position: absolute;
  top: 0;
  right: 0;
}
.plan-state-content{
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  justify-content: flex-end;
}
.plan-sub-state{
  margin-left: 20rpx;
}
.copy-content{
  width: 80%;
  color: #8f8d8e;
  font-size: 24rpx;
}
.action-content{
  width: 100%;
  height: 80rpx;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  @include pad-devices {
    height: toPadPx(80);
  }
}
.action-item{
  margin-left: 10rpx;
  padding-right: 20rpx;
}

.text-overflow{
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.plan-item-block{
  width: 6rpx;
  height: 30rpx;
  line-height: 30rpx;
  background: #bdbdbd;
  margin: 20rpx 0;
  display: inline-block;
  //border-radius: 5rpx;
  @include pad-devices {
    width: toPadPx(6);
    height: toPadPx(30);
    line-height: toPadPx(30);
    margin: toPadPx(20) 0;
  }
}
.action-btn{
  position: fixed;
  width: 94%;
  bottom: 3%;
  left: 3%;
}
.title{
  font-size: 24rpx;
  padding: 0 20rpx 20rpx;
  @include pad-devices {
    font-size: toPadPx(24);
  }
}
.card-body{
  font-size: 24rpx;
  padding: 0 20rpx 20rpx;
  @include pad-devices {
    font-size: toPadPx(24);
  }
}
.list-scroll-view{
  //height: 80vh;
}